﻿<?php
// Martin Laas - kursus1109 - 27.10.2011

$massiiv[1][1] = "Avatar (2009)";
$massiiv[1][2] = "Titanic (1997)";
$massiiv[1][3] = "Harry Potter and the Deathly Hallows: Part 2 (2011)";

$massiiv[2][1] = "The Lord of the Rings: The Return of the King (2003)";
$massiiv[2][2] = "Transformers: Dark of the Moon (2011)";
$massiiv[2][3] = "Pirates of the Caribbean: Dead Man's Chest (2006)";

$massiiv[3][1] = "Toy Story 3 (2010)";
$massiiv[3][2] = "Pirates of the Caribbean: On Stranger Tides (2011)";
$massiiv[3][3] = "Alice in Wonderland (2010)";

for ($i = 1; $i <= count($massiiv); $i++)
{
		for ($j = 1; $j <= count($massiiv); $j++)
		{
			echo $massiiv[$i][$j]."<br>";
		}
		
}

?>